package com.ashbur.lottery.res;

import com.ashbur.lottery.dto.ActivityDto;
import com.ashbur.lottery.common.Result;

import java.io.Serializable;

/**
 * @author : Eumenides
 * @Description :
 * @date : 2022/8/17
 * @Copyright ： 公众号：菜鸟的大厂梦
 */
public class ActivityRes implements Serializable {
    private static final long serialVersionUID = -1011453802736134027L;
    private Result result;
    private ActivityDto activity;

    public ActivityRes() {
    }

    public ActivityRes(Result result) {
        this.result = result;
    }

    public ActivityRes(Result result, ActivityDto activity) {
        this.result = result;
        this.activity = activity;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public ActivityDto getActivity() {
        return activity;
    }

    public void setActivity(ActivityDto activity) {
        this.activity = activity;
    }
}
